package com.bw.product.service.impl;

import com.bw.product.domain.DiscountCoupon;
import com.bw.product.mapper.DiscountCouponMapper;
import com.bw.product.service.DiscountCouponService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class DiscountCouponServiceImpl implements DiscountCouponService {
    @Autowired
    private DiscountCouponMapper discountCouponMapper;


//    @Override
//    public List<DiscountCoupon> list(DiscountCoupon discountCoupon) {
//        if (discountCoupon.getStatus()!=1){
//            throw new RuntimeException("平台未审批");
//        }
//        return discountCouponMapper.list(discountCoupon);
//    }
}
